<include file="public@head" />
</head>

<body>
    <include file="public@footer" />
    <script>
    layui.config({
        base: '__TMPL__/public/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'layer'], function() {
        var $ = layui.$,
            element = layui.element,
            layer = layui.layer;

        layer.open({
            title: "同步用户操作",
            content: "用户操作同步成功!",
            yes: function(index,layero) {
                history.back(-1);
                clearTimeout(closeTimeout);
            },
            cancel: function(index,layero) {
                history.back(-1);
                clearTimeout(closeTimeout);
            }
        });

        var closeTimeout = setTimeout(function() {
            history.back(-1);
        }, 3000);
    });
    </script>
</body>

</html>